Use the Content Editor Web Part
You can type any kind of text in
a Content Editor web part, including scripts. To add a Content Editor
web part to a page, switch the web part selection pane to the Media and
Content category and select the Content Editor web part from the list
of web parts.
After you add the web part,
it does not appear with any text. Instead, you see an instruction
telling you that you need to add text (content) to the web part by
opening the tool ribbons for the web part. To do so, click the link in
the text. The web part switches into text editing mode, exposing the
Editing Tools ribbon, with the Format Text and Insert tabs .
However,
unlike the text editing control, the content editor web part does not
support inserting some types of content, such as web parts and video
and audio. If in the future you would like to change the text, you can.
Use the Image Viewer Web Part
The Image Viewer web part
enables you to display just an image. To add an Image web part, select
it from the list of available web parts under the Media and Content
category.
When you add the web part to
the page, it doesn’t have any image set. Instead, it offers
instructions on how to specify the image: by clicking the Open the Tool
Pane link.
When the tool pane is open,
you can specify the link to the image that should be displayed, as well
as some settings for how it will be displayed (see Figure 2).
The first setting is the link
to the image. You just type (or paste) the link into the Image Link
box. Then click the Test Link hyperlink above the box to make sure the
link you typed is correct and points to the correct picture. If the
link is fine, the picture opens in a new window, which you can then
close.
In the Alternative Text box,
type the text that you want to appear in the web part if the user who
is browsing the site is using a browser that doesn’t support images or
has that option turned off. This text is also displayed when the user
hovers the mouse cursor over the picture.